package com.boe.csb.core.dao;

import com.boe.csb.core.entity.po.BoeApiPopular;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface BoeApiPopularMapper {
    long countByExample(BoeApiPopularCriteria example);

    int deleteByExample(BoeApiPopularCriteria example);

    int deleteByPrimaryKey(Long id);

    int insert(BoeApiPopular record);

    int insertSelective(BoeApiPopular record);

    List<BoeApiPopular> selectByExampleWithRowbounds(BoeApiPopularCriteria example, RowBounds rowBounds);

    List<BoeApiPopular> selectByExample(BoeApiPopularCriteria example);

    BoeApiPopular selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BoeApiPopular record, @Param("example") BoeApiPopularCriteria example);

    int updateByExample(@Param("record") BoeApiPopular record, @Param("example") BoeApiPopularCriteria example);

    int updateByPrimaryKeySelective(BoeApiPopular record);

    int updateByPrimaryKey(BoeApiPopular record);

    int updateSubscribeCountByCsbId(@Param("csbId")Long csbId,@Param("count")Integer count);


}